package cn.tristenstudy.blog.pojo.vo;

import cn.tristenstudy.blog.pojo.Blog;
import cn.tristenstudy.blog.pojo.Type;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author xichen1.li
 * @date 2020-12-29 14:45
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class BlogQuery extends Page<Blog> {
    /**
     * 标签
     */
    private String title;
    /**
     * 是否推荐
     */
    private Boolean recommend;
    /**
     * 类型
     */
    private Long typeId;
    /**
     * 查询条件
     */
    private String query;
    /**
     * 是否发布
     */
    private Boolean published;
    /**
     * 博客id集合
     */
    private List<Long> blogIdList;
}
